﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.Models.Collection
{
    public class TypePropertiesCollection
    {
        [Required(ErrorMessage = "Please enter Name of Type Properties.")]
        [DisplayName("Type Properties Name")]
        //[RegularExpression(@"^[a-zA-Z_0-9]{3,15}$", ErrorMessage = "Type Properties Name is not in the correct format.")]
        [StringLength(150)]
        public string TypePropertiesName { get; set; }

        [DisplayName("TypePropertiesDes")]
        [StringLength(500)]
        public string TypePropertiesDes { get; set; }

        [DisplayName("TypePropertiesAbstract")]
        [StringLength(350)]
        public string TypePropertiesAbstract { get; set; }

        [DisplayName("Status")]
        public bool? Status { get; set; }

        [DisplayName("LanguagesID")]
        public int? LanguagesID { get; set; }

        [DisplayName("TypePropertiesID")]
        public int? TypePropertiesID { get; set; }
    }
}
